// Tool.java
package exercise.jslide.jslide.view.tools;

public interface Tool {
    void activate();   // 工具被选中时调用
    void deactivate(); // 工具被取消选中时调用
    void handleMousePressed(double x, double y);
    void handleMouseDragged(double x, double y);
    void handleMouseReleased(double x, double y);
}